<?php

require_once(dirname(__FILE__) . '/../Query.php');

class Rass_DirQuery extends RawsQuery
{
  public function __construct($kind = null)
  {
      parent::__construct();
      $this->setKind($kind);
  }

  public function setKind($value)
  {
    if ($value !== null) {
        $this->_params['kind'] = $value;
    } else {
        unset($this->_params['kind']);
    }
    return $this;
  }
  
  public function getQueryUrl($base_uri, $path)
  {
    return parent::getQueryUrl($base_uri, "dir", $path);
  }

}
